<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
        <meta name="author" content="Coderthemes">

        <!-- App Favicon -->
        <link rel="shortcut icon" href="assets/images/favicon.ico">

        <!-- App title -->
        <title>Uplon - Responsive Admin Dashboard Template</title>

        <!-- Switchery css -->
        <link href="assets/plugins/switchery/switchery.min.css" rel="stylesheet" />

        <!-- Bootstrap CSS -->
        <link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

        <!-- App CSS -->
        <link href="assets/css/style.css" rel="stylesheet" type="text/css" />

        <!-- HTML5 Shiv and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
        <![endif]-->
        <!-- Modernizr js -->
        <script src="assets/js/modernizr.min.js"></script>

    </head>


    <body class="fixed-left" id="do-nicescrol">    
        <div class="row">
            <div class="col-12">
                <div class="card-box">
                    <h4 class="m-t-0 header-title">实例</h4>
                    <p class="text-muted m-b-30 font-13">
                        使用 <code> data-plugin="knob" data-width="xx" data-height="xx"
                        data-fgColor="#xxx" data-displayInput=.. value="xxx"</code>.
                    </p>

                    <div class="row">
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150" data-bgColor="#ebeff2"
                                       data-fgColor="#1bb99a" data-displayInput=false value="35"/>
                                <h6 class="text-muted m-t-10">禁用显示输入</h6>
                            </div>
                        </div><!-- end col-->
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150" data-cursor=true
                                       data-fgColor="#3db9dc" value="29"/>
                                <h6 class="text-muted m-t-10">光标模式</h6>
                            </div>
                        </div><!-- end col-->
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150" data-min="-100"
                                       data-fgColor="#f1b53d" data-displayPrevious=true value="44"/>
                                <h6 class="text-muted m-t-10">显示以前的值</h6>
                            </div>
                        </div><!-- end col-->
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150" data-min="-100"
                                       data-fgColor="#ff5d48" data-displayPrevious=true data-angleOffset=-125
                                       data-angleArc=250 value="44"/>
                                <h6 class="text-muted m-t-10">角度偏移和圆弧</h6>
                            </div>
                        </div><!-- end col-->
                    </div><!-- end row -->

                    <div class="row">
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150"
                                       data-angleOffset="90" data-linecap="round" data-fgColor="#2b3d51"
                                       value="35"/>
                                <h6 class="text-muted m-t-10">角度偏移</h6>
                            </div>
                        </div><!-- end col-->
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150" data-min="-15000"
                                       data-displayPrevious=true data-max="15000" data-step="1000"
                                       value="-11000" data-fgColor="#9261c6"/>
                                <h6 class="text-muted m-t-10">5位值, 1000步</h6>
                            </div>
                        </div><!-- end col-->
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150" data-linecap=round
                                       data-fgColor="#ff7aa3" value="80" data-skin="tron" data-angleOffset="180"
                                       data-readOnly=true data-thickness=".1"/>
                                <h6 class="text-muted m-t-10">只读</h6>
                            </div>
                        </div><!-- end col-->
                        <div class="col-sm-12 col-xs-12 col-md-6 col-lg-6 col-xl-3 text-center">
                            <div class="p-20">
                                <input data-plugin="knob" data-width="150" data-height="150"
                                       data-displayPrevious=true data-fgColor="#039cfd" data-skin="tron"
                                       data-cursor=true value="75" data-thickness=".2" data-angleOffset=-125
                                       data-angleArc=250 value="44"/>
                                <h6 class="text-muted m-t-10">角度偏移和圆弧</h6>
                            </div>
                        </div><!-- end col-->
                    </div><!-- end row-->

                </div>
            </div>
        </div>
        <!-- End row -->

    </div>
    <!-- END wrapper -->


        <script>
            var resizefunc = [];
        </script>

        <!-- jQuery  -->
        <script src="assets/js/jquery.min.js"></script>
        <script src="assets/js/tether.min.js"></script><!-- Tether for Bootstrap -->
        <script src="assets/js/bootstrap.min.js"></script>
        <script src="assets/js/detect.js"></script>
        <script src="assets/js/fastclick.js"></script>
        <script src="assets/js/jquery.blockUI.js"></script>
        <script src="assets/js/waves.js"></script>
        <script src="assets/js/jquery.nicescroll.js"></script>
        <script src="assets/js/jquery.scrollTo.min.js"></script>
        <script src="assets/js/jquery.slimscroll.js"></script>
        <script src="assets/plugins/switchery/switchery.min.js"></script>

        <!-- KNOB JS -->
        <!--[if IE]>
        <script type="text/javascript" src="assets/plugins/jquery-knob/excanvas.js"></script>
        <![endif]-->
        <script src="assets/plugins/jquery-knob/jquery.knob.js"></script>

        <!-- App js -->
        <script src="assets/js/jquery.core.js"></script>
        <script src="assets/js/jquery.app.js"></script>
        <script type="text/javascript">
            $(document).ready(
                 function() { 
                  $("#do-nicescrol").niceScroll({oneaxismousemode: false,cursorcolor: "#999",horizrailenabled: false});
                 }
                );
        </script>

    </body>
</html>